//
//  Transition.h
//  ImGuider
//
//  Created by 王鹏宇 on 2017/4/13.
//  Copyright © 2017年 imguider. All rights reserved.
//

#import <Foundation/Foundation.h>


//自定义转场的枚举类型
typedef NS_ENUM(NSUInteger, TransitionType) {
    
    
    PageCoverTransitionPush,
    PageCoverTransitionPop,
    
    
};

@interface Transition : NSObject<UIViewControllerAnimatedTransitioning>


//转场类型 根据不同的转场类型进行不同的转场操作
@property (nonatomic, assign) TransitionType type;

//设定转场类型
+ (instancetype)transitionWithTransitionType:(TransitionType)type;
@end
